/*
 * 存储本地数据
 * @Author: xurenda <xurenda@qq.com>
 * @HomePage: https://xurenda.top
 * @Github: https://github.com/xurenda
 * @Date: 2019-10-13 12:51:30
 * @LastEditTime: 2019-12-10 21:32:17
 * @FilePath: \elegant-surf\src\assets\js\data.js
 */

// 版权声明
export const copyright = 'Copyright ©2018-2020 <a href="//www.xurenda.top" target="_blank">xurenda</a> All rights reserved.'

// 备案信息
export const recordCode = '蒙ICP备18003120号-1'

// 模态框-导航
export const modalBoxNav = [
  { label: '导航', routerLink: '/navigation', iconfontName: 'icon-daohang' },
  { label: '应用', routerLink: '/application', iconfontName: 'icon-yingyong' },
  { label: '背景', routerLink: '/background', iconfontName: 'icon-beijing' },
  { label: '设置', routerLink: '/setting', iconfontName: 'icon-shezhi' },
  { label: '关于', routerLink: '/about', iconfontName: 'icon-guanyu' }
]

// 通用设置
export const commonSetting = {
  title: '通用',
  language: {
    title: '语言',
    options: [
      { value: 'chinese', label: '汉语' },
      { value: 'english', label: 'English' }
    ]
  }
}

// google 搜索引擎
export const googleEngine = { key: 'google', name: '谷歌搜索', url: '//www.google.com/search?q=' }

// 搜索引擎
export const searchEngines = {
  bing: { name: '必应搜索-国际版', url: '//www.bing.com/search?&ensearch=1&q=', top:52 },
  baidu: { name: '百度搜索', url: '//www.baidu.com/s?wd=', top: 38 },
  bingcn: { name: '必应搜索-国内版', url: '//www.bing.com/search?&ensearch=0&q=', top:52 },
  sougou: { name: '搜狗搜索', url: '//www.sogou.com/web?query=', top: 38 },
  so360: { name: '360搜索', url: '//www.so.com/s?q=', top: 43 },
  youdao: { name: '有道搜词', url: '//www.youdao.com/w/', top: 90, }
}

const _defaultEngineOptions = Object.keys(searchEngines).map(key => {
  return ({
    value: key,
    label: searchEngines[key].name
  })
})

// 搜索设置
export const searchSetting = {
  title: '搜索',
  defaultEngine: {
    title: '默认搜索引擎',
    options: _defaultEngineOptions
  }
}

// 外观设置
export const appearanceSetting = {
  title: '外观',
  theme: {
    title: '主题',
    options: [
      { value: 'dark', label: '深色' },
      { value: 'light', label: '浅色' }
    ]
  },
  rounded: {
    title: '圆角效果'
  }
}

// 应用-工具
export const applicationTools = []

// 应用-游戏
export const applicationGames = [
  { value: 'lineWay', label: 'Line Way', url: '//game.xurenda.top/line-way/' }
]

// 背景颜色（纯色背景）
export const backgroundColors = [
  '#ededed',
  '#fc6534',
  '#fee71d',
  '#0095a3',
  '#4fcec4',
  '#512cb1',
  '#f5a623',
  '#ff0080',
  '#ffa500',
  '#383838'
]

// 背景效果（动态背景）
export const backgroundSketchs = [
  { value: 'waves', label: '动态波浪' },
  { value: 'blobs', label: '炫彩斑点' }
]

// 热门导航
export const hotNavigations = [
  { url: 'http://www.google.cn', label: '谷 歌', src: 'http://www.google.cn/favicon.ico' },
  { url: 'https://www.baidu.com', label: '百 度', src: 'https://www.baidu.com/favicon.ico' },
  { url: 'https://v.qq.com', label: '腾讯视频', src: 'https://v.qq.com/favicon.ico' },
  { url: 'https://www.zhihu.com', label: '知 乎', src: 'https://www.zhihu.com/favicon.ico' },
  { url: 'https://www.bilibili.com', label: '哔哩哔哩', src: 'https://www.bilibili.com/favicon.ico' },
  { url: 'https://douban.com', label: '豆 瓣', src: 'https://douban.com/favicon.ico' },
  { url: 'https://y.qq.com', label: 'QQ音乐', src: 'https://y.qq.com/favicon.ico' },
]

// 新闻导航
export const newNavigations = [
  { url: 'http://www.people.com.cn', label: '人民网', src: 'http://www.people.com.cn/favicon.ico' },
  { url: 'http://news.cctv.com', label: '央视新闻', src: 'http://news.cctv.com/favicon.ico' },
  { url: 'https://www.huanqiu.com', label: '环球网', src: '//himg2.huanqiu.com/statics/images/favicon1.ico' },
  { url: 'https://www.zhihu.com', label: '今日头条', src: 'https://www.zhihu.com/favicon.ico' },
  { url: 'https://news.sina.com.cn', label: '新浪新闻', src: 'https://news.sina.com.cn/favicon.ico' },
  { url: 'https://news.qq.com', label: '腾讯新闻', src: 'https://news.qq.com/favicon.ico' },
  { url: 'http://news.ifeng.com', label: '凤凰资讯', src: 'http://news.ifeng.com/favicon.ico' },
  { url: 'https://www.thepaper.cn', label: '澎湃新闻', src: 'https://www.thepaper.cn/favicon.ico' },
]

// 学习导航
export const studyNavigations = [
  { url: 'https://www.imooc.com', label: '慕 课', src: 'https://www.imooc.com/favicon.ico' },
  { url: 'https://www.runoob.com ', label: '菜鸟教程', src: 'https://www.runoob.com/favicon.ico' },
  { url: 'https://www.zhihu.com', label: '知 乎', src: 'https://www.zhihu.com/favicon.ico' },
  { url: 'https://book.douban.com', label: '豆瓣读书', src: 'https://book.douban.com/favicon.ico' },
  { url: 'https://open.163.com', label: '网易公开课', src: 'https://open.163.com/favicon.ico' },
  { url: 'https://www.csdn.net', label: 'CSDN', src: 'https://www.csdn.net/favicon.ico' },
  { url: 'https://www.oschina.net', label: '开源中国', src: 'https://www.oschina.net/favicon.ico' },
]

//影音导航
export const videoNavigations = [
  { url: 'https://www.bilibili.com', label: '哔哩哔哩', src: 'https://www.bilibili.com/favicon.ico' },
  { url: 'https://www.youtube.com', label: 'YouToBe', src: 'https://www.youtube.com/favicon.ico' },
  { url: 'https://v.qq.com', label: '腾讯视频', src: 'https://v.qq.com/favicon.ico' },
  { url: 'https://www.youku.com', label: '优酷视频', src: 'https://www.youku.com/favicon.ico' },
  { url: 'https://www.iqiyi.com', label: '爱奇艺', src: 'https://www.iqiyi.com/' },
  { url: 'https://www.mgtv.com', label: '芒果TV', src: 'https://www.mgtv.com/favicon.ico' },
  { url: 'https://www.huya.com', label: '虎牙直播', src: 'https://www.huya.com/favicon.ico' },
  { url: 'https://www.douyu.com', label: '斗鱼直播', src: 'https://www.douyu.com/favicon.ico' },
  { url: 'https://y.qq.com', label: 'QQ音乐', src: 'https://y.qq.com/favicon.ico' },
  { url: 'http://www.kugou.com', label: '酷狗音乐', src: 'http://www.kugou.com/favicon.ico' },
]

//其他导航
export const otherNavigations = [
  { url: 'https://mail.google.com', label: '谷歌邮箱', src: 'https://mail.google.com/favicon.ico' },
  { url: 'https://mail.163.com', label: '网易邮箱', src: 'https://mail.163.com/favicon.ico' },
  { url: 'https://mail.qq.com', label: 'QQ邮箱', src: 'https://mail.qq.com/favicon.ico  ' },
  { url: 'https://pan.baidu.com', label: '百度网盘', src: 'https://pan.baidu.com/favicon.ico' },
  { url: 'https://www.ximalaya.com', label: '喜马拉雅', src: 'https://www.ximalaya.com/favicon.ico' },
  { url: 'https://www.qingting.fm', label: '蜻蜓FM', src: 'https://www.qingting.fm/favicon.ico' },
  { url: 'https://translate.google.cn', label: '谷歌翻译', src: 'https://translate.google.cn/favicon.ico' },
  { url: 'http://fanyiguan.youdao.com', label: '有道翻译官', src: 'http://fanyiguan.youdao.com/favicon.ico' },
  { url: 'http://www.4399.com', label: '4399小游戏', src: 'http://www.4399.com/favicon.ico' },
]